]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
renameFolderMenu: Don't save the source
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 11 Sep 2019 18:14:27 +0000 (20:14 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 20 Sep 2019 15:53:42 +0000 (15:53 +0000)
The source actor is already tracked by the PopupMenu internally as
sourceActor, while nothing in RenameFolderMenu uses the source, so we can
drop this.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/720

js/ui/appDisplay.js

index 21469d1f99b3607256f99da08f36b2b78a59f47b..39fa99e7ed671540b7a16771ff12a75f53d7bf71 100644 (file)
@@ -1717,7 +1717,6 @@ var RenameFolderMenu = class RenameFolderMenu extends PopupMenu.PopupMenu {
     constructor(source, folder) {
         super(source.actor, 0.5, St.Side.BOTTOM);
 
-        this._source = source;
         this._folder = folder;
 
         // We want to keep the item hovered while the menu is up